package net.zhengxinyun.performance.service.Check;

import net.zhengxinyun.performance.entity.CheckEntity;
import net.zhengxinyun.performance.entity.UserEntity;
import net.zhengxinyun.performance.filter.CheckFilter;
import net.zhengxinyun.performance.filter.IndexFilter;

import java.io.File;
import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * Created by hyp1202 on 2018/12/20.
 */
public interface CheckService {

    String insert(CheckEntity entity,UserEntity userEntity);

    String delete(CheckEntity entity);

    String update(CheckEntity entity);

    List<CheckFilter> query(CheckFilter filter,UserEntity userEntity);

    Integer queryForCount(CheckFilter filter);

    String reply(CheckEntity entity, UserEntity userEntity);

    ArrayList<CheckFilter> queryForMail(CheckFilter checkFilter,UserEntity userEntity);

    String pass(CheckEntity checkEntity);

    String noPass(CheckEntity checkEntity);

    String setPoint(CheckEntity checkEntity,UserEntity userEntity);

    void overTime();

    void build(File tmpFile, Map<String, String> contentMap, String exportFile) throws Exception;

    String deleteForFile(CheckEntity checkEntity);

    List<CheckFilter> querySumPoint(IndexFilter indexFilter);
}
